package com.lotus.lqmp.service.common.enums;

import com.lotus.platform.common.model.enums.EnumService;

/**
 * 自定义枚举
 * @author Liwei.Zhang3
 * @since 2021/12/30 15:41
 */
public enum XXXEnum implements EnumService {
    YES(0, "是"),
    NO(1, "否");

    private int code;
    private String desc;

    XXXEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public int code() {
        return 0;
    }

    @Override
    public String value() {
        return null;
    }

    @Override
    public String message() {
        return null;
    }

    @Override
    public String getValueByCode(String s) {
        return null;
    }
}
